import { commonTableOptions } from '@/utils/util'

export const tableOption = function () {
  let self = this
  return {
    ...commonTableOptions,
    // height: self?.documentHeight - 450,
    searchMenuSpan: 18,
    menuWidth: 300,
    menu: true,
    header: true,
    addBtn: false,
    addBtnText: '预约',
    editBtn: false,
    delBtn: false,
    viewBtn: false,
    searchLabelWidth: 120,
    column: [
      {
        label: '坞名称',
        prop: 'p1',
        search: true,
        overHidden: true,
      },
      {
        label: '修理设施',
        prop: 'p2',
        overHidden: true,
      },
      {
        label: '服务商',
        prop: 'p3',
        overHidden: true,
      },
      {
        label: '联系方式',
        prop: 'p4',
        addDisplay: false
      },
    ]
  }
}
